package java99;

import java.util.Scanner;

public class Input {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        System.out.println("请输入姓名：");
        String name = input.next();
        System.out.println("请输入年龄：");
        int age = input.nextInt();
        System.out.println("姓名：" + name + "年龄：" + age);
        System.out.printf("我的名字叫%s，今年%d岁", name, age);
    }
}
